
import { Global, Module } from '@nestjs/common';
import { SpectrumService } from './spectrum.service';
import { SpectrumController } from './spectrum.controller';
import { SpectrumEntity } from './entities/spectrum.entity';
import { TypeOrmModule } from '@nestjs/typeorm';

@Global()
@Module({
  imports: [TypeOrmModule.forFeature([SpectrumEntity])],
  controllers: [SpectrumController],
  providers: [SpectrumService],
  exports: [SpectrumService],
})
export class SpectrumModule {}
    